package org.itboys.mobile.entity.mongo.project;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.Date;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：众包_项目_留言_实体。 2017年11月17日 作废
 *
 */
@Entity(value="ZhongBaoProjectWord", noClassnameStored=true)
public class ZhongBaoProjectWord extends BaseMongoEntity{
    private Long projectId;//项目ID

    private Long memberId;//会员ID
    private String memberName;//会员名称
    private String memberMobile;//会员电话
    private String memberImage;//会员头像
    private String words;//留言内容
    private Long parentId;//父级留言ID
    private Long topParentId;//顶级父级留言ID。2017年10月20日 作废

    public ZhongBaoProjectWord(Long projectId, Long memberId, String memberName, String memberMobile, String memberImage, String words, Long parentId, Long topParentId) {
        this.projectId = projectId;
        this.memberId = memberId;
        this.memberName = memberName;
        this.memberMobile = memberMobile;
        this.memberImage = memberImage;
        this.words = words;
        this.parentId = parentId;
        this.topParentId = topParentId;
    }

    public ZhongBaoProjectWord() {
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberMobile() {
        return memberMobile;
    }

    public void setMemberMobile(String memberMobile) {
        this.memberMobile = memberMobile;
    }

    public String getMemberImage() {
        return memberImage;
    }

    public void setMemberImage(String memberImage) {
        this.memberImage = memberImage;
    }

    public String getWords() {
        return words;
    }

    public void setWords(String words) {
        this.words = words;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getTopParentId() {
        return topParentId;
    }

    public void setTopParentId(Long topParentId) {
        this.topParentId = topParentId;
    }
}
